package com.zcx.springcloud.payment8001.mapper;

import com.zcx.springcloud.payment8001.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PaymentMapper {

     int create(Payment payment);

     Payment getPaymentById(@Param("id") Long id);

     List<Payment> selectPaymentList(Payment payment);
}
